package com.caiyouxi.finance.mapper;

import com.caiyouxi.finance.model.CouponBatch;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by Administrator on 2017/10/18.
 */
@Mapper
public interface CouponBatchMapper {

    //查询
    public CouponBatch select_coupon_batch(int id);
    //增加
    public int add_coupon_batch(CouponBatch bean);

    //修改
    public int update_coupon_batch(CouponBatch bean);

    //删除
    public int delete_coupon_batch(CouponBatch bean);

    //查询所有
    List<CouponBatch> coupon_batch_list(CouponBatch bean);
    //查询页码
    int coupon_batch_counts(CouponBatch bean);

}
